package org.lex.ftp.ui.actions;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import org.lex.ftp.FTP;

public class ExitAction extends FTPAction {
	public ExitAction(FTP app) {
		super(app);
		this.setName("Exit");
		this.setMnemonic(KeyEvent.VK_X);
	}

	public void actionPerformed(ActionEvent e) {
		app.exit();
	}
}
